package com.bgy.sms;


import com.bgy.model.Meetingcreate;
/**
 * 定时设置会议状态，如果会议已经结束，设置成  1 结束
 * @author Administrator
 *
 */
public class TimerSendFlag {
	
	public TimerSendFlag(){		
		new Thread(new Runnable(){
			@Override
			public void run() {
				int time_delay = 3000;				
				while(true){
					try {
						Thread.sleep(time_delay);
						timerSetStatus();						
					} catch (InterruptedException e) {
						e.printStackTrace();
					}
				}
			}
		}).start();
	}
	
	private void timerSetStatus(){
		Meetingcreate.me.setStatus();
	}
}
